using System;

namespace Cookbook.Services.Core.Handlers
{
    [AttributeUsage(AttributeTargets.Class)]
    public class AppliesToAggregateRootAttribute : Attribute
    {
        public AppliesToAggregateRootAttribute(Type aggregateRootType)
        {
            AggregateRootType = aggregateRootType;
        }

        public Type AggregateRootType { get; private set; }
    }
}